package ar.tuc.unsta.campus.weather.unstaWeatherUpload;

import java.awt.EventQueue;

import ar.tuc.unsta.campus.weather.unstaWeatherUpload.controller.FileUploaderController;
import ar.tuc.unsta.campus.weather.unstaWeatherUpload.model.FileUploaderModel;
import ar.tuc.unsta.campus.weather.unstaWeatherUpload.view.FileUploaderView;
import ar.tuc.unsta.campus.weather.unstaWeatherUpload.view.util.FileUploaderUtils;

public class FileUploaderMain {
	
	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		FileUploaderUtils.setUploaderLookAndFeel();
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FileUploaderView frame = new FileUploaderView();
					FileUploaderModel model = new FileUploaderModel();
					new FileUploaderController(frame, model);
					
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
}
